//
//  SSWebViewController.swift
//  MyMicroBlog
//
//  Created by stevenSu on 15/8/11.
//  Copyright © 2015年 stevenSu. All rights reserved.
//

import UIKit

class SSWebViewController: UIViewController {

    override func loadView() {
        view = webView
        
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        webView.loadRequest(NSURLRequest(URL: link))
    }
    
    init(link: NSURL) {
        self.link = link
        super.init(nibName: nil, bundle: nil)
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    private lazy var webView = UIWebView()
    var link: NSURL
}
